package io.renren.modules.wmstate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;
import io.renren.common.utils.PageUtils;
import io.renren.modules.wmstate.entity.DataListResponse;
import io.renren.modules.wmstate.entity.WeldingmachineStateEntity;
import io.renren.mqtt.MqttConfiguration;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-08-18 00:07:54
 */
public interface WeldingmachineStateService extends IService<WeldingmachineStateEntity> {

    PageUtils queryPage(Map<String, Object> params);

    String getMachineList(String collModelCode) throws JsonProcessingException;

    String listData(String gwsn, String startDate) throws JsonProcessingException;


    int postPointData(MqttConfiguration.PointData pointData);

    String countStatus();

//    List<DataListResponse.DataList> getDataList(String gwsn, String startDate);

//    String getDataList(String gwsn,String startDate) throws JsonProcessingException;
//    String getMachineToken();
}

